package com.kw.sqlsession;

import com.kw.pojo.Configuration;
import com.kw.pojo.MappedStatement;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;

/**
 * Created by Medivh on 2020/5/8.
 * 愿我出走半生,归来仍是少年
 */
public interface Executor {


    public <T> T query(Configuration configuration, MappedStatement mappedStatement,Object ...params) throws SQLException, ClassNotFoundException, NoSuchFieldException, IllegalAccessException, IntrospectionException, InstantiationException, InvocationTargetException;
}
